//
//  SEGMineHouseListViewModel.h
//  Commom
//
//  Created by 梁学彰 on 2020/6/2.
//

#import <Foundation/Foundation.h>
#import "SEGHouseRentalAndSaleRequestManager.h"
#import "SEGNewRentallistitemModel.h"
#import "ReactiveObjC.h"
NS_ASSUME_NONNULL_BEGIN

@interface SEGMineHouseListViewModel : NSObject
@property (nonatomic, strong) SEGHouseRentalAndSaleRequestManager *requestManager;
@property (nonatomic, strong) NSMutableArray <SEGNewRentallistitemModel *>*mineRentalArray;

- (RACSignal *)sendMineRentalListRequest;
//删除
- (RACSignal *)sendDeleteRequestWithRentalId:(NSString *)rentalId;

//擦亮
- (RACSignal *)sendShineRequestWithRentalId:(NSString *)rentalId;

//下架
- (RACSignal *)sendoffLineRequestWithRentalId:(NSString *)rentalId;


- (void)shareActionWithModel:(SEGNewRentallistitemModel *)model viewController:(UIViewController *)viewController;

@end

NS_ASSUME_NONNULL_END
